package shayu.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import shayu.order.vo.CartItemVo;
import shayu.order.vo.OrderItemVo;

import java.util.List;

@FeignClient("shop-cart")
public interface CartFeign {

    @GetMapping("/cart/currentUserCartItems")
    List<OrderItemVo> getCurrentUserItem();
}
